package service

import (
	"gowork/memberHero/dao"
	"gowork/memberHero/model"
)

type MemberSriImp struct{
	Dip *dao.MemberDaoImp
}

func NewMemberSriImp(dip *dao.MemberDaoImp) *MemberSriImp{
	return &MemberSriImp{Dip:dip}
}


func (msi *MemberSriImp)InesrtSri(mb []*model.Member)map[string]string{
	return msi.Dip.InesrtDao(mb)
}

func (msi *MemberSriImp)QuerySri() []*model.Member{
	return msi.Dip.QueryDao()
}